3.6.71 \(\int \frac {\sqrt {a+b x} (c+d x)^{5/2}}{x^3} \, dx\) [571]

Optimal. Leaf size=211 \[ \frac {d (b c+11 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 a}-\frac {(b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{4 a x}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {\sqrt {c} \left (b^2 c^2-10 a b c d-15 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{4 a^{3/2}}+\frac {d^{3/2} (5 b c+a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{\sqrt {b}} \]

[Out]

d^(3/2)*(a*d+5*b*c)*arctanh(d^(1/2)*(b*x+a)^(1/2)/b^(1/2)/(d*x+c)^(1/2))/b^(1/2)+1/4*(-15*a^2*d^2-10*a*b*c*d+b
^2*c^2)*arctanh(c^(1/2)*(b*x+a)^(1/2)/a^(1/2)/(d*x+c)^(1/2))*c^(1/2)/a^(3/2)-1/4*(5*a*d+b*c)*(d*x+c)^(3/2)*(b*
x+a)^(1/2)/a/x-1/2*(d*x+c)^(5/2)*(b*x+a)^(1/2)/x^2+1/4*d*(11*a*d+b*c)*(b*x+a)^(1/2)*(d*x+c)^(1/2)/a

________________________________________________________________________________________

Rubi [A]
time = 0.13, antiderivative size = 211, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 9, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.409, Rules used = {99, 154, 159, 163, 65, 223, 212, 95, 214} \begin {gather*} \frac {\sqrt {c} \left (-15 a^2 d^2-10 a b c d+b^2 c^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{4 a^{3/2}}+\frac {d^{3/2} (a d+5 b c) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{\sqrt {b}}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}-\frac {\sqrt {a+b x} (c+d x)^{3/2} (5 a d+b c)}{4 a x}+\frac {d \sqrt {a+b x} \sqrt {c+d x} (11 a d+b c)}{4 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(Sqrt[a + b*x]*(c + d*x)^(5/2))/x^3,x]

[Out]

(d*(b*c + 11*a*d)*Sqrt[a + b*x]*Sqrt[c + d*x])/(4*a) - ((b*c + 5*a*d)*Sqrt[a + b*x]*(c + d*x)^(3/2))/(4*a*x) -
 (Sqrt[a + b*x]*(c + d*x)^(5/2))/(2*x^2) + (Sqrt[c]*(b^2*c^2 - 10*a*b*c*d - 15*a^2*d^2)*ArcTanh[(Sqrt[c]*Sqrt[
a + b*x])/(Sqrt[a]*Sqrt[c + d*x])])/(4*a^(3/2)) + (d^(3/2)*(5*b*c + a*d)*ArcTanh[(Sqrt[d]*Sqrt[a + b*x])/(Sqrt
[b]*Sqrt[c + d*x])])/Sqrt[b]

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 95

Int[(((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_))/((e_.) + (f_.)*(x_)), x_Symbol] :> With[{q = Denomin
ator[m]}, Dist[q, Subst[Int[x^(q*(m + 1) - 1)/(b*e - a*f - (d*e - c*f)*x^q), x], x, (a + b*x)^(1/q)/(c + d*x)^
(1/q)], x]] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[m + n + 1, 0] && RationalQ[n] && LtQ[-1, m, 0] && SimplerQ[
a + b*x, c + d*x]

Rule 99

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[(a + b*
x)^(m + 1)*(c + d*x)^n*((e + f*x)^p/(b*(m + 1))), x] - Dist[1/(b*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^(n
- 1)*(e + f*x)^(p - 1)*Simp[d*e*n + c*f*p + d*f*(n + p)*x, x], x], x] /; FreeQ[{a, b, c, d, e, f}, x] && LtQ[m
, -1] && GtQ[n, 0] && GtQ[p, 0] && (IntegersQ[2*m, 2*n, 2*p] || IntegersQ[m, n + p] || IntegersQ[p, m + n])

Rule 154

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)), x_Symb
ol] :> Simp[(b*g - a*h)*(a + b*x)^(m + 1)*(c + d*x)^n*((e + f*x)^(p + 1)/(b*(b*e - a*f)*(m + 1))), x] - Dist[1
/(b*(b*e - a*f)*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^(n - 1)*(e + f*x)^p*Simp[b*c*(f*g - e*h)*(m + 1) + (
b*g - a*h)*(d*e*n + c*f*(p + 1)) + d*(b*(f*g - e*h)*(m + 1) + f*(b*g - a*h)*(n + p + 1))*x, x], x], x] /; Free
Q[{a, b, c, d, e, f, g, h, p}, x] && ILtQ[m, -1] && GtQ[n, 0]

Rule 159

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)), x_Symb
ol] :> Simp[h*(a + b*x)^m*(c + d*x)^(n + 1)*((e + f*x)^(p + 1)/(d*f*(m + n + p + 2))), x] + Dist[1/(d*f*(m + n
 + p + 2)), Int[(a + b*x)^(m - 1)*(c + d*x)^n*(e + f*x)^p*Simp[a*d*f*g*(m + n + p + 2) - h*(b*c*e*m + a*(d*e*(
n + 1) + c*f*(p + 1))) + (b*d*f*g*(m + n + p + 2) + h*(a*d*f*m - b*(d*e*(m + n + 1) + c*f*(m + p + 1))))*x, x]
, x], x] /; FreeQ[{a, b, c, d, e, f, g, h, n, p}, x] && GtQ[m, 0] && NeQ[m + n + p + 2, 0] && IntegersQ[2*m, 2
*n, 2*p]

Rule 163

Int[(((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_)*((g_.) + (h_.)*(x_)))/((a_.) + (b_.)*(x_)), x_Symbol]
 :> Dist[h/b, Int[(c + d*x)^n*(e + f*x)^p, x], x] + Dist[(b*g - a*h)/b, Int[(c + d*x)^n*((e + f*x)^p/(a + b*x)
), x], x] /; FreeQ[{a, b, c, d, e, f, g, h, n, p}, x]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rubi steps

\begin {align*} \int \frac {\sqrt {a+b x} (c+d x)^{5/2}}{x^3} \, dx &=-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {1}{2} \int \frac {(c+d x)^{3/2} \left (\frac {1}{2} (b c+5 a d)+3 b d x\right )}{x^2 \sqrt {a+b x}} \, dx\\ &=-\frac {(b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{4 a x}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {\int \frac {\sqrt {c+d x} \left (\frac {1}{4} \left (-b^2 c^2+10 a b c d+15 a^2 d^2\right )+\frac {1}{2} b d (b c+11 a d) x\right )}{x \sqrt {a+b x}} \, dx}{2 a}\\ &=\frac {d (b c+11 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 a}-\frac {(b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{4 a x}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {\int \frac {-\frac {1}{4} b c \left (b^2 c^2-10 a b c d-15 a^2 d^2\right )+a b d^2 (5 b c+a d) x}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{2 a b}\\ &=\frac {d (b c+11 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 a}-\frac {(b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{4 a x}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {1}{2} \left (d^2 (5 b c+a d)\right ) \int \frac {1}{\sqrt {a+b x} \sqrt {c+d x}} \, dx-\frac {\left (c \left (b^2 c^2-10 a b c d-15 a^2 d^2\right )\right ) \int \frac {1}{x \sqrt {a+b x} \sqrt {c+d x}} \, dx}{8 a}\\ &=\frac {d (b c+11 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 a}-\frac {(b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{4 a x}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {\left (d^2 (5 b c+a d)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {c-\frac {a d}{b}+\frac {d x^2}{b}}} \, dx,x,\sqrt {a+b x}\right )}{b}-\frac {\left (c \left (b^2 c^2-10 a b c d-15 a^2 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{-a+c x^2} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{4 a}\\ &=\frac {d (b c+11 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 a}-\frac {(b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{4 a x}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {\sqrt {c} \left (b^2 c^2-10 a b c d-15 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{4 a^{3/2}}+\frac {\left (d^2 (5 b c+a d)\right ) \text {Subst}\left (\int \frac {1}{1-\frac {d x^2}{b}} \, dx,x,\frac {\sqrt {a+b x}}{\sqrt {c+d x}}\right )}{b}\\ &=\frac {d (b c+11 a d) \sqrt {a+b x} \sqrt {c+d x}}{4 a}-\frac {(b c+5 a d) \sqrt {a+b x} (c+d x)^{3/2}}{4 a x}-\frac {\sqrt {a+b x} (c+d x)^{5/2}}{2 x^2}+\frac {\sqrt {c} \left (b^2 c^2-10 a b c d-15 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )}{4 a^{3/2}}+\frac {d^{3/2} (5 b c+a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{\sqrt {b}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.86, size = 177, normalized size = 0.84 \begin {gather*} \frac {\sqrt {c} \left (b^2 c^2-10 a b c d-15 a^2 d^2\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {a+b x}}{\sqrt {a} \sqrt {c+d x}}\right )+\sqrt {a} \left (\frac {\sqrt {a+b x} \sqrt {c+d x} \left (-2 a c^2-b c^2 x-9 a c d x+4 a d^2 x^2\right )}{x^2}+\frac {4 a d^{3/2} (5 b c+a d) \tanh ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b x}}{\sqrt {b} \sqrt {c+d x}}\right )}{\sqrt {b}}\right )}{4 a^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[a + b*x]*(c + d*x)^(5/2))/x^3,x]

[Out]

(Sqrt[c]*(b^2*c^2 - 10*a*b*c*d - 15*a^2*d^2)*ArcTanh[(Sqrt[c]*Sqrt[a + b*x])/(Sqrt[a]*Sqrt[c + d*x])] + Sqrt[a
]*((Sqrt[a + b*x]*Sqrt[c + d*x]*(-2*a*c^2 - b*c^2*x - 9*a*c*d*x + 4*a*d^2*x^2))/x^2 + (4*a*d^(3/2)*(5*b*c + a*
d)*ArcTanh[(Sqrt[d]*Sqrt[a + b*x])/(Sqrt[b]*Sqrt[c + d*x])])/Sqrt[b]))/(4*a^(3/2))

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(441\) vs. \(2(167)=334\).
time = 0.07, size = 442, normalized size = 2.09

method result size
default \(-\frac {\sqrt {d x +c}\, \sqrt {b x +a}\, \left (15 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a^{2} c \,d^{2} x^{2} \sqrt {b d}+10 \ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) a b \,c^{2} d \,x^{2} \sqrt {b d}-\ln \left (\frac {a d x +b c x +2 \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}+2 a c}{x}\right ) b^{2} c^{3} x^{2} \sqrt {b d}-4 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a^{2} d^{3} x^{2} \sqrt {a c}-20 \ln \left (\frac {2 b d x +2 \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+a d +b c}{2 \sqrt {b d}}\right ) a b c \,d^{2} x^{2} \sqrt {a c}-8 a \,d^{2} x^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+18 a c d x \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+2 b \,c^{2} x \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}+4 a \,c^{2} \sqrt {a c}\, \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, \sqrt {b d}\right )}{8 a \sqrt {\left (d x +c \right ) \left (b x +a \right )}\, x^{2} \sqrt {b d}\, \sqrt {a c}}\) \(442\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x+c)^(5/2)*(b*x+a)^(1/2)/x^3,x,method=_RETURNVERBOSE)

[Out]

-1/8*(d*x+c)^(1/2)*(b*x+a)^(1/2)/a*(15*ln((a*d*x+b*c*x+2*(a*c)^(1/2)*((d*x+c)*(b*x+a))^(1/2)+2*a*c)/x)*a^2*c*d
^2*x^2*(b*d)^(1/2)+10*ln((a*d*x+b*c*x+2*(a*c)^(1/2)*((d*x+c)*(b*x+a))^(1/2)+2*a*c)/x)*a*b*c^2*d*x^2*(b*d)^(1/2
)-ln((a*d*x+b*c*x+2*(a*c)^(1/2)*((d*x+c)*(b*x+a))^(1/2)+2*a*c)/x)*b^2*c^3*x^2*(b*d)^(1/2)-4*ln(1/2*(2*b*d*x+2*
((d*x+c)*(b*x+a))^(1/2)*(b*d)^(1/2)+a*d+b*c)/(b*d)^(1/2))*a^2*d^3*x^2*(a*c)^(1/2)-20*ln(1/2*(2*b*d*x+2*((d*x+c
)*(b*x+a))^(1/2)*(b*d)^(1/2)+a*d+b*c)/(b*d)^(1/2))*a*b*c*d^2*x^2*(a*c)^(1/2)-8*a*d^2*x^2*(a*c)^(1/2)*((d*x+c)*
(b*x+a))^(1/2)*(b*d)^(1/2)+18*a*c*d*x*(a*c)^(1/2)*((d*x+c)*(b*x+a))^(1/2)*(b*d)^(1/2)+2*b*c^2*x*(a*c)^(1/2)*((
d*x+c)*(b*x+a))^(1/2)*(b*d)^(1/2)+4*a*c^2*(a*c)^(1/2)*((d*x+c)*(b*x+a))^(1/2)*(b*d)^(1/2))/((d*x+c)*(b*x+a))^(
1/2)/x^2/(b*d)^(1/2)/(a*c)^(1/2)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^(5/2)*(b*x+a)^(1/2)/x^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(a*d-b*c>0)', see `assume?` for
 more detail

________________________________________________________________________________________

Fricas [A]
time = 3.47, size = 1094, normalized size = 5.18 \begin {gather*} \left [\frac {4 \, {\left (5 \, a b c d + a^{2} d^{2}\right )} x^{2} \sqrt {\frac {d}{b}} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 4 \, {\left (2 \, b^{2} d x + b^{2} c + a b d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {\frac {d}{b}} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x\right ) - {\left (b^{2} c^{2} - 10 \, a b c d - 15 \, a^{2} d^{2}\right )} x^{2} \sqrt {\frac {c}{a}} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} - 4 \, {\left (2 \, a^{2} c + {\left (a b c + a^{2} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {\frac {c}{a}} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right ) + 4 \, {\left (4 \, a d^{2} x^{2} - 2 \, a c^{2} - {\left (b c^{2} + 9 \, a c d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{16 \, a x^{2}}, -\frac {8 \, {\left (5 \, a b c d + a^{2} d^{2}\right )} x^{2} \sqrt {-\frac {d}{b}} \arctan \left (\frac {{\left (2 \, b d x + b c + a d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {-\frac {d}{b}}}{2 \, {\left (b d^{2} x^{2} + a c d + {\left (b c d + a d^{2}\right )} x\right )}}\right ) + {\left (b^{2} c^{2} - 10 \, a b c d - 15 \, a^{2} d^{2}\right )} x^{2} \sqrt {\frac {c}{a}} \log \left (\frac {8 \, a^{2} c^{2} + {\left (b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2}\right )} x^{2} - 4 \, {\left (2 \, a^{2} c + {\left (a b c + a^{2} d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {\frac {c}{a}} + 8 \, {\left (a b c^{2} + a^{2} c d\right )} x}{x^{2}}\right ) - 4 \, {\left (4 \, a d^{2} x^{2} - 2 \, a c^{2} - {\left (b c^{2} + 9 \, a c d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{16 \, a x^{2}}, -\frac {{\left (b^{2} c^{2} - 10 \, a b c d - 15 \, a^{2} d^{2}\right )} x^{2} \sqrt {-\frac {c}{a}} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {-\frac {c}{a}}}{2 \, {\left (b c d x^{2} + a c^{2} + {\left (b c^{2} + a c d\right )} x\right )}}\right ) - 2 \, {\left (5 \, a b c d + a^{2} d^{2}\right )} x^{2} \sqrt {\frac {d}{b}} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 4 \, {\left (2 \, b^{2} d x + b^{2} c + a b d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {\frac {d}{b}} + 8 \, {\left (b^{2} c d + a b d^{2}\right )} x\right ) - 2 \, {\left (4 \, a d^{2} x^{2} - 2 \, a c^{2} - {\left (b c^{2} + 9 \, a c d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{8 \, a x^{2}}, -\frac {{\left (b^{2} c^{2} - 10 \, a b c d - 15 \, a^{2} d^{2}\right )} x^{2} \sqrt {-\frac {c}{a}} \arctan \left (\frac {{\left (2 \, a c + {\left (b c + a d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {-\frac {c}{a}}}{2 \, {\left (b c d x^{2} + a c^{2} + {\left (b c^{2} + a c d\right )} x\right )}}\right ) + 4 \, {\left (5 \, a b c d + a^{2} d^{2}\right )} x^{2} \sqrt {-\frac {d}{b}} \arctan \left (\frac {{\left (2 \, b d x + b c + a d\right )} \sqrt {b x + a} \sqrt {d x + c} \sqrt {-\frac {d}{b}}}{2 \, {\left (b d^{2} x^{2} + a c d + {\left (b c d + a d^{2}\right )} x\right )}}\right ) - 2 \, {\left (4 \, a d^{2} x^{2} - 2 \, a c^{2} - {\left (b c^{2} + 9 \, a c d\right )} x\right )} \sqrt {b x + a} \sqrt {d x + c}}{8 \, a x^{2}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^(5/2)*(b*x+a)^(1/2)/x^3,x, algorithm="fricas")

[Out]

[1/16*(4*(5*a*b*c*d + a^2*d^2)*x^2*sqrt(d/b)*log(8*b^2*d^2*x^2 + b^2*c^2 + 6*a*b*c*d + a^2*d^2 + 4*(2*b^2*d*x
+ b^2*c + a*b*d)*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(d/b) + 8*(b^2*c*d + a*b*d^2)*x) - (b^2*c^2 - 10*a*b*c*d - 15
*a^2*d^2)*x^2*sqrt(c/a)*log((8*a^2*c^2 + (b^2*c^2 + 6*a*b*c*d + a^2*d^2)*x^2 - 4*(2*a^2*c + (a*b*c + a^2*d)*x)
*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(c/a) + 8*(a*b*c^2 + a^2*c*d)*x)/x^2) + 4*(4*a*d^2*x^2 - 2*a*c^2 - (b*c^2 + 9
*a*c*d)*x)*sqrt(b*x + a)*sqrt(d*x + c))/(a*x^2), -1/16*(8*(5*a*b*c*d + a^2*d^2)*x^2*sqrt(-d/b)*arctan(1/2*(2*b
*d*x + b*c + a*d)*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(-d/b)/(b*d^2*x^2 + a*c*d + (b*c*d + a*d^2)*x)) + (b^2*c^2 -
 10*a*b*c*d - 15*a^2*d^2)*x^2*sqrt(c/a)*log((8*a^2*c^2 + (b^2*c^2 + 6*a*b*c*d + a^2*d^2)*x^2 - 4*(2*a^2*c + (a
*b*c + a^2*d)*x)*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(c/a) + 8*(a*b*c^2 + a^2*c*d)*x)/x^2) - 4*(4*a*d^2*x^2 - 2*a*
c^2 - (b*c^2 + 9*a*c*d)*x)*sqrt(b*x + a)*sqrt(d*x + c))/(a*x^2), -1/8*((b^2*c^2 - 10*a*b*c*d - 15*a^2*d^2)*x^2
*sqrt(-c/a)*arctan(1/2*(2*a*c + (b*c + a*d)*x)*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(-c/a)/(b*c*d*x^2 + a*c^2 + (b*
c^2 + a*c*d)*x)) - 2*(5*a*b*c*d + a^2*d^2)*x^2*sqrt(d/b)*log(8*b^2*d^2*x^2 + b^2*c^2 + 6*a*b*c*d + a^2*d^2 + 4
*(2*b^2*d*x + b^2*c + a*b*d)*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(d/b) + 8*(b^2*c*d + a*b*d^2)*x) - 2*(4*a*d^2*x^2
 - 2*a*c^2 - (b*c^2 + 9*a*c*d)*x)*sqrt(b*x + a)*sqrt(d*x + c))/(a*x^2), -1/8*((b^2*c^2 - 10*a*b*c*d - 15*a^2*d
^2)*x^2*sqrt(-c/a)*arctan(1/2*(2*a*c + (b*c + a*d)*x)*sqrt(b*x + a)*sqrt(d*x + c)*sqrt(-c/a)/(b*c*d*x^2 + a*c^
2 + (b*c^2 + a*c*d)*x)) + 4*(5*a*b*c*d + a^2*d^2)*x^2*sqrt(-d/b)*arctan(1/2*(2*b*d*x + b*c + a*d)*sqrt(b*x + a
)*sqrt(d*x + c)*sqrt(-d/b)/(b*d^2*x^2 + a*c*d + (b*c*d + a*d^2)*x)) - 2*(4*a*d^2*x^2 - 2*a*c^2 - (b*c^2 + 9*a*
c*d)*x)*sqrt(b*x + a)*sqrt(d*x + c))/(a*x^2)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a + b x} \left (c + d x\right )^{\frac {5}{2}}}{x^{3}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)**(5/2)*(b*x+a)**(1/2)/x**3,x)

[Out]

Integral(sqrt(a + b*x)*(c + d*x)**(5/2)/x**3, x)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1200 vs. \(2 (167) = 334\).
time = 2.62, size = 1200, normalized size = 5.69 \begin {gather*} \frac {\frac {4 \, \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d} \sqrt {b x + a} d^{2} {\left | b \right |}}{b} - \frac {2 \, {\left (5 \, \sqrt {b d} b c d {\left | b \right |} + \sqrt {b d} a d^{2} {\left | b \right |}\right )} \log \left ({\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}\right )}{b} + \frac {{\left (\sqrt {b d} b^{3} c^{3} {\left | b \right |} - 10 \, \sqrt {b d} a b^{2} c^{2} d {\left | b \right |} - 15 \, \sqrt {b d} a^{2} b c d^{2} {\left | b \right |}\right )} \arctan \left (-\frac {b^{2} c + a b d - {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2}}{2 \, \sqrt {-a b c d} b}\right )}{\sqrt {-a b c d} a b} - \frac {2 \, {\left (\sqrt {b d} b^{9} c^{6} {\left | b \right |} + 5 \, \sqrt {b d} a b^{8} c^{5} d {\left | b \right |} - 30 \, \sqrt {b d} a^{2} b^{7} c^{4} d^{2} {\left | b \right |} + 50 \, \sqrt {b d} a^{3} b^{6} c^{3} d^{3} {\left | b \right |} - 35 \, \sqrt {b d} a^{4} b^{5} c^{2} d^{4} {\left | b \right |} + 9 \, \sqrt {b d} a^{5} b^{4} c d^{5} {\left | b \right |} - 3 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} b^{7} c^{5} {\left | b \right |} - 20 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a b^{6} c^{4} d {\left | b \right |} + 22 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{2} b^{5} c^{3} d^{2} {\left | b \right |} + 28 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{3} b^{4} c^{2} d^{3} {\left | b \right |} - 27 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a^{4} b^{3} c d^{4} {\left | b \right |} + 3 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} b^{5} c^{4} {\left | b \right |} + 29 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} a b^{4} c^{3} d {\left | b \right |} + 21 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} a^{2} b^{3} c^{2} d^{2} {\left | b \right |} + 27 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4} a^{3} b^{2} c d^{3} {\left | b \right |} - \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{6} b^{3} c^{3} {\left | b \right |} - 14 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{6} a b^{2} c^{2} d {\left | b \right |} - 9 \, \sqrt {b d} {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{6} a^{2} b c d^{2} {\left | b \right |}\right )}}{{\left (b^{4} c^{2} - 2 \, a b^{3} c d + a^{2} b^{2} d^{2} - 2 \, {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} b^{2} c - 2 \, {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{2} a b d + {\left (\sqrt {b d} \sqrt {b x + a} - \sqrt {b^{2} c + {\left (b x + a\right )} b d - a b d}\right )}^{4}\right )}^{2} a}}{4 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^(5/2)*(b*x+a)^(1/2)/x^3,x, algorithm="giac")

[Out]

1/4*(4*sqrt(b^2*c + (b*x + a)*b*d - a*b*d)*sqrt(b*x + a)*d^2*abs(b)/b - 2*(5*sqrt(b*d)*b*c*d*abs(b) + sqrt(b*d
)*a*d^2*abs(b))*log((sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2)/b + (sqrt(b*d)*b^3*c^3*
abs(b) - 10*sqrt(b*d)*a*b^2*c^2*d*abs(b) - 15*sqrt(b*d)*a^2*b*c*d^2*abs(b))*arctan(-1/2*(b^2*c + a*b*d - (sqrt
(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2)/(sqrt(-a*b*c*d)*b))/(sqrt(-a*b*c*d)*a*b) - 2*(sq
rt(b*d)*b^9*c^6*abs(b) + 5*sqrt(b*d)*a*b^8*c^5*d*abs(b) - 30*sqrt(b*d)*a^2*b^7*c^4*d^2*abs(b) + 50*sqrt(b*d)*a
^3*b^6*c^3*d^3*abs(b) - 35*sqrt(b*d)*a^4*b^5*c^2*d^4*abs(b) + 9*sqrt(b*d)*a^5*b^4*c*d^5*abs(b) - 3*sqrt(b*d)*(
sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2*b^7*c^5*abs(b) - 20*sqrt(b*d)*(sqrt(b*d)*sqrt
(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2*a*b^6*c^4*d*abs(b) + 22*sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a)
- sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2*a^2*b^5*c^3*d^2*abs(b) + 28*sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt
(b^2*c + (b*x + a)*b*d - a*b*d))^2*a^3*b^4*c^2*d^3*abs(b) - 27*sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c
 + (b*x + a)*b*d - a*b*d))^2*a^4*b^3*c*d^4*abs(b) + 3*sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x +
 a)*b*d - a*b*d))^4*b^5*c^4*abs(b) + 29*sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*
d))^4*a*b^4*c^3*d*abs(b) + 21*sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^4*a^2*
b^3*c^2*d^2*abs(b) + 27*sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^4*a^3*b^2*c*
d^3*abs(b) - sqrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^6*b^3*c^3*abs(b) - 14*s
qrt(b*d)*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^6*a*b^2*c^2*d*abs(b) - 9*sqrt(b*d)*(s
qrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^6*a^2*b*c*d^2*abs(b))/((b^4*c^2 - 2*a*b^3*c*d +
a^2*b^2*d^2 - 2*(sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2*b^2*c - 2*(sqrt(b*d)*sqrt(b*
x + a) - sqrt(b^2*c + (b*x + a)*b*d - a*b*d))^2*a*b*d + (sqrt(b*d)*sqrt(b*x + a) - sqrt(b^2*c + (b*x + a)*b*d
- a*b*d))^4)^2*a))/b

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {a+b\,x}\,{\left (c+d\,x\right )}^{5/2}}{x^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((a + b*x)^(1/2)*(c + d*x)^(5/2))/x^3,x)

[Out]

int(((a + b*x)^(1/2)*(c + d*x)^(5/2))/x^3, x)

________________________________________________________________________________________